﻿<%@ Page Title="Report Subsidiary Ledger" Language="C#" MasterPageFile="~/Share/AccMaster.Master" AutoEventWireup="true"
    CodeBehind="frmSubsidiaryLedger.aspx.cs" Inherits="MixScriptWeb.Accounting.ReportObject.frmSubsidiaryLedger" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div style="padding-left: 10px;">
        <h2 class="jquery_tab">
            <asp:Label ID="lblTitle" runat="server" Text="Report General Ledger" Font-Bold="True"></asp:Label>
        </h2>
        <br />
        <table width="100%" class="table-ui">
            <tr>
                <td style="width: 20%">
                </td>
                <td style="width: 10%">
                    <%--  <asp:RadioButton ID="rbKbAll" Text="All" runat="server" Checked="true" GroupName="group1"
                        OnCheckedChanged="rbKbAll_CheckedChanges" AutoPostBack="true" />--%>
                </td>
                <td style="width: 10%">
                    <%--<asp:RadioButton ID="rbKbChossen" Text="Choosen" runat="server" GroupName="group1"
                        OnCheckedChanged="rbKbAll_CheckedChanges" AutoPostBack="true" />--%>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td style="width: 20%">
                    <asp:ListBox runat="server" Width="100%" Height="130px" ID="lbSub" AutoPostBack="true"
                        OnSelectedIndexChanged="lbSub_CheckedChanges">
                        <asp:ListItem Text="Sub Account" Value="1" />
                        <asp:ListItem Text="Bank" Value="2" />
                        <asp:ListItem Text="Customer" Value="3" />
                        <asp:ListItem Text="Employee" Value="4" />
                        <asp:ListItem Text="Customer" Value="5" />
                    </asp:ListBox>
                </td>
                <td colspan="3" style="width: 60%">
                    <asp:Panel ID="Panel2" runat="server" Width="100%" Height="130px" BackColor="Control"
                        ScrollBars="Auto">
                        <asp:GridView runat="server" ID="gvSub" Width="100%" CssClass="gridview" AutoGenerateColumns="false">
                            <AlternatingRowStyle CssClass="alt" />
                            <Columns>
                                <asp:TemplateField HeaderStyle-Width="2%">
                                    <HeaderTemplate>
                                        <asp:CheckBox ID="chkAllHeader" Checked="true" runat="server" AutoPostBack="true"
                                            OnCheckedChanged="chkAllHeader_CheckedChanged" />
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <asp:CheckBox ID="chkAll" Checked="true" runat="server" />
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:BoundField DataField="code" HeaderText="Code" />
                                <asp:BoundField DataField="name" HeaderText="Name" />
                            </Columns>
                            <EditRowStyle BorderColor="Silver" BorderStyle="Solid" />
                            <FooterStyle CssClass="ft" />
                            <PagerStyle BorderStyle="None" BorderWidth="0px" HorizontalAlign="Center" />
                        </asp:GridView>
                    </asp:Panel>
                </td>
            </tr>
        </table>
        <br />
        <br />
        <asp:Panel ID="Panel1" runat="server" Width="100%" Height="350px" BackColor="Control"
            ScrollBars="Auto">
            <asp:GridView runat="server" ID="gvList" Width="100%" CssClass="gridview" AutoGenerateColumns="false">
                <AlternatingRowStyle CssClass="alt" />
                <Columns>
                    <asp:TemplateField HeaderStyle-Width="2%">
                        <HeaderTemplate>
                            <asp:CheckBox ID="chkAllHeader" Checked="true" runat="server" AutoPostBack="true"
                                OnCheckedChanged="chkAllHeader_CheckedChanged" />
                        </HeaderTemplate>
                        <ItemTemplate>
                            <asp:CheckBox ID="chkAll" runat="server" Checked="true" />
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="code" HeaderText="Code" />
                    <asp:BoundField DataField="Name" HeaderText="Name" />
                </Columns>
                <EditRowStyle BorderColor="Silver" BorderStyle="Solid" />
                <FooterStyle CssClass="ft" />
                <PagerStyle BorderStyle="None" BorderWidth="0px" HorizontalAlign="Center" />
            </asp:GridView>
        </asp:Panel>
        <br />
        <br />
        <table width="100%" class="table-ui">
            <%--<tr>
                <td rowspan="2" style="width: 15%; vertical-align: top;">
                    Period
                </td>
                <td style="width: 10%">
                    <asp:RadioButton runat="server" Checked="true" ID="rbPeriod1" GroupName="period"
                        OnCheckedChanged="rbPeriod_CheckedChanges" AutoPostBack="true" />
                </td>
                <td style="width: 10%">
                    <asp:DropDownList ID="ddlPeriod" runat="server" />
                </td>
                <td style="width: 65%">
                </td>
            </tr>--%>
            <tr>
                <td style="width: 15%; vertical-align: top;">
                    Period<%--<asp:RadioButton ID="rbPeriod2" runat="server" GroupName="period" OnCheckedChanged="rbPeriod_CheckedChanges"
                        AutoPostBack="true" />--%>
                </td>
                <td style="width: 10%">
                    <asp:TextBox runat="server" CssClass="input-small datepicker" ID="txtFrom"></asp:TextBox>
                </td>
                <td style="width: 10%">
                    <asp:TextBox runat="server" CssClass="input-small datepicker" ID="txtTo"></asp:TextBox>
                </td>
                <td style="width: 65%">
                </td>
            </tr>
            <tr>
                <td style="width: 15%; vertical-align: top;">
                    Currency
                </td>
                <td style="width: 10%">
                    <asp:DropDownList ID="ddlCurrency" runat="server" />
                </td>
                <td style="width: 10%">
                </td>
                <td style="width: 65%">
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    <asp:Button ID="btnProccess" runat="server" Text="Process" CssClass="button" OnClick="btnSubmit_Click" />
                </td>
                <td>
                </td>
                <td>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
